<template>
    <!--发货地-->
    <div id="ShipAddressDetails">
        <v-details :detailData="inputData" :inputConfig="inputConfig"></v-details>
    </div>
</template>

<script>
    import details from 'commons/Detail'
    import baseMixin from "@/mixins/BaseMixin";

    export default {
        name: "ShipAddressDetails",
        mixins: [baseMixin],
        props: {
            inputData: {
                type: Object
            }
        },

        data() {
            return {
                inputConfig: [
                    [
                        {
                            type: "input",
                            label: this.$t('in.suppliercode'),
                            disabled: false,
                            props: "suppliercode"
                        },
                        {
                            type: "input",
                            label: this.$t('in.suppliername'),
                            disabled: false,
                            props: "suppliername"
                        },
                        {
                            type: "input",
                            label: this.$t('in.shipfromaddressline',{no:1}),
                            disabled: false,
                            props: "shipfromaddressline1"
                        },
                        {
                            type: "input",
                            label: this.$t('in.shipfromaddressline',{no:2}),
                            disabled: false,
                            props: "shipfromaddressline2"
                        },
                        {
                            type: "input",
                            label: this.$t('in.shipfromaddressline',{no:3}),
                            disabled: false,
                            props: "shipfromaddressline3"
                        },
                        {
                            type: "input",
                            label: this.$t('in.shipfromaddressline',{no:4}),
                            disabled: false,
                            props: "shipfromaddressline4"
                        },
                        {
                            type: "input",
                            label: this.$t('in.shipfromaddressline',{no:5}),
                            disabled: false,
                            props: "shipfromaddressline5"
                        },
                        {
                            type: "input",
                            label: this.$t('in.shipfromaddressline',{no:6}),
                            disabled: false,
                            props: "shipfromaddressline6"
                        },
                    ],
                    [
                        {
                            type: "input",
                            label: this.$t('config.city'),
                            disabled: false,
                            props: "shipfromcity"
                        },
                        {
                            type: "input",
                            label: this.$t('bill.province'),
                            disabled: false,
                            props: "shipfromstate"
                        },
                        {
                            type: "input",
                            label: this.$t('config.postcode'),
                            disabled: false,
                            props: "shipfromzip"
                        },
                        {
                            type: "input",
                            label: this.$t('config.contact'),
                            disabled: false,
                            props: "shipfromcontact"
                        },
                        {
                            type: "input",
                            label: this.$t('app.email'),
                            disabled: false,
                            props: "shipfromemail"
                        },
                        {
                            type: "input",
                            label: this.$t('config.phone'),
                            disabled: false,
                            props: "shipfromphone"
                        }
                    ]
                ],
            }
        },
        methods: {},
        mounted() {
        },
        components: {
            'v-details': details
        }
    }
</script>

<style scoped>

</style>

